package java3_24.StringHomework10;

public class Exchange {
    public int digital;
    public String word;


    public Exchange(int i, String s) {
        this.digital = i;
        this.word = s;
    }

    public static Exchange[] getExchange() {
        Exchange[] xx = new  Exchange[10];
        xx[0] = new Exchange(0,"零");
        xx[1] = new Exchange(1,"壹");
        xx[2] = new Exchange(2,"贰");
        xx[3] = new Exchange(3,"叁");
        xx[4] = new Exchange(4,"四");
        xx[5] = new Exchange(5,"伍");
        xx[6] = new Exchange(6,"陆");
        xx[7] = new Exchange(7,"柒");
        xx[8] = new Exchange(8,"捌");
        xx[9] = new Exchange(9,"九");
        return xx;
    }


}
